<?php
	 /* @var $this SiteController */

	 $this->pageTitle = Yii::app()->name;
?>

<?php $ur = Yii::app()->request->getbaseUrl().'/'; ?>

<?php
	//echo $ur;
?>
<script type="text/javascript">
	$(document).ready(function(){
			$('.container').hide();
			//$("#kontenweb").css("display", "none");
			$('.container').fadeIn(3000);

			function redirectPage() {
		        window.location = linkLocation;
		    }
		})
</script>
<style type="text/css">
	.container {
		/*background: url(/rgj/images/bg-jumbotron.png) repeat scroll 0 0 rgba(0, 0, 0);*/
		/*opacity: 0.1;*/
	}
	#container2 {
		bottom: 0;
		content: "";
		display: block;
		left: 0;
		/*opacity: 0.4;*/
		position: absolute;
		right: 0;
		top: 0;
	}
</style>
<table width="100%" height="100%">
	<tr height="33%">
		<td width="33%" align="center">
			<button class="btn btn-large btn-primary" type="button">Cabang 1</button>
			<button class="btn btn-large btn-primary" type="button">Cabang 1</button>
			<button class="btn btn-large btn-primary" type="button">Cabang 1</button>
			<br><br>
			<button class="btn btn-large btn-primary" type="button">Cabang 1</button>
			<button class="btn btn-large btn-primary" type="button">Cabang 1</button>
			<button class="btn btn-large btn-primary" type="button">Cabang 1</button>
			<br><br>
			<button class="btn btn-large btn-primary" type="button">Cabang 1</button>
			<button class="btn btn-large btn-primary" type="button">Cabang 1</button>
			<button class="btn btn-large btn-primary" type="button">Cabang 1</button>
		</td>
		<td width="33%">
			
		</td>
		<td width="33%" align="center">
			<button class="btn btn-large btn-primary" type="button">Cabang 1</button>
			<button class="btn btn-large btn-primary" type="button">Cabang 1</button>
			<button class="btn btn-large btn-primary" type="button">Cabang 1</button>
			<br><br>
			<button class="btn btn-large btn-primary" type="button">Cabang 1</button>
			<button class="btn btn-large btn-primary" type="button">Cabang 1</button>
			<button class="btn btn-large btn-primary" type="button">Cabang 1</button>
			<br><br>
			<button class="btn btn-large btn-primary" type="button">Cabang 1</button>
			<button class="btn btn-large btn-primary" type="button">Cabang 1</button>
			<button class="btn btn-large btn-primary" type="button">Cabang 1</button>
		</td>
	</tr>
	<tr height="33%">
		<td>
		</td>
		<td align="center">
			<div class="jumbotron" style="background:linear-gradient(45deg, #1336c3 0%, #1285de 100%) repeat scroll 0 0 rgba(0, 0, 0, 0);"; ?>">
				<img src="<?php echo $ur.'images/logo/logo_sigap.png'; ?>" width="200">
				<br><br>
					<?php
						/*echo BsHtml::ajaxLink('open Modal', Yii::app()->createAbsoluteUrl('site/ShowMap'), array(
						    'cache' => true,
						    'block' => true,
						    'color' => BsHtml::BUTTON_COLOR_PRIMARY,
						    'data' => array(
						        'message' => 'clicked the AjaxLink'
						    ),
						    'type' => 'POST',
						    'success' => 'js:function(data){
						                console.log(data);
						                $(".modal-body").html(data);
						                $("#demo_modal").modal("show");
						            }'
						), array(
						    'icon' => BsHtml::GLYPHICON_BELL
						));*/
					?>
					<?php
						echo BsHtml::linkButton('Show Maps', array(
						    'block' => true,
						    'color' => BsHtml::BUTTON_COLOR_PRIMARY,
						    //'size' => BsHtml::BUTTON_SIZE_LARGE,
						    'url' => array('/maps/index'),
						));
					?>
					<?php
						echo BsHtml::linkButton('Logout (' . Yii::app()->user->name . ')', array(
						    'block' => true,
						    'color' => BsHtml::BUTTON_COLOR_SUCCESS,
						    //'size' => BsHtml::BUTTON_SIZE_LARGE,
						    'url' => array('/site/logout'),
						));
					?>
	    	</div>
		</td>
		<td>
		</td>
	</tr>
	<tr height="100%">
		<td width="33%" align="center">
			<button class="btn btn-large btn-primary" type="button">Cabang 1</button>
			<button class="btn btn-large btn-primary" type="button">Cabang 1</button>
			<button class="btn btn-large btn-primary" type="button">Cabang 1</button>
			<br><br>
			<button class="btn btn-large btn-primary" type="button">Cabang 1</button>
			<button class="btn btn-large btn-primary" type="button">Cabang 1</button>
			<button class="btn btn-large btn-primary" type="button">Cabang 1</button>
			<br><br>
			<button class="btn btn-large btn-primary" type="button">Cabang 1</button>
			<button class="btn btn-large btn-primary" type="button">Cabang 1</button>
			<button class="btn btn-large btn-primary" type="button">Cabang 1</button>
		</td>
		<td width="33%">
			
		</td>
		<td width="33%" align="center">
			<button class="btn btn-large btn-primary" type="button">Cabang 1</button>
			<button class="btn btn-large btn-primary" type="button">Cabang 1</button>
			<button class="btn btn-large btn-primary" type="button">Cabang 1</button>
			<br><br>
			<button class="btn btn-large btn-primary" type="button">Cabang 1</button>
			<button class="btn btn-large btn-primary" type="button">Cabang 1</button>
			<button class="btn btn-large btn-primary" type="button">Cabang 1</button>
			<br><br>
			<button class="btn btn-large btn-primary" type="button">Cabang 1</button>
			<button class="btn btn-large btn-primary" type="button">Cabang 1</button>
			<button class="btn btn-large btn-primary" type="button">Cabang 1</button>
		</td>
	</tr>
</table>